package com.mzkj.wanjulaile.mobile.api.modules.toy.entity;


import com.mzkj.wanjulaile.mobile.api.common.entity.DataEntity;
import com.mzkj.wanjulaile.mobile.api.modules.category.entity.SubCategory;

/**
 * 玩具－分类中间表Entity
 * @author hgw
 * @version 2016-10-09
 */
public class ToyCategory extends DataEntity<ToyCategory> {
	
	private static final long serialVersionUID = 1L;
	private Toy toy;		// 产品id
	private SubCategory subCategory;		// 子分类id
	
	public ToyCategory() {
		super();
	}

	public ToyCategory(String id){
		super(id);
	}

	public Toy getToy() {
		return toy;
	}

	public void setToy(Toy toy) {
		this.toy = toy;
	}

	public SubCategory getSubCategory() {
		return subCategory;
	}

	public void setSubCategory(SubCategory subCategory) {
		this.subCategory = subCategory;
	}
}